import apiClient from './client'
import type { ChatRequest, ChatResponse } from '../types'

export const llmService = {
  // 发送聊天消息
  chat: async (data: ChatRequest): Promise<ChatResponse> => {
    const response = await apiClient.post<ChatResponse>('/llm/chat', data)
    return response.data
  },
}
